package com.jd.dict.model;

/**
 * Created by liuhaiming on 2017/7/29.
 */
public class TableFieldInfoModel {
    private String key;

    private String comment;

    private String type;

    private int fieldLength;

    private int powerLength;

    private String indexKey;

    private boolean isNullable;

    private boolean isPrimaryKey;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getFieldLength() {
        return fieldLength;
    }

    public void setFieldLength(int fieldLength) {
        this.fieldLength = fieldLength;
    }

    public String getIndexKey() {
        return indexKey;
    }

    public void setIndexKey(String indexKey) {
        this.indexKey = indexKey;
    }

    public boolean isNullable() {
        return isNullable;
    }

    public void setNullable(boolean nullable) {
        isNullable = nullable;
    }

    public boolean isPrimaryKey() {
        return isPrimaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        isPrimaryKey = primaryKey;
    }

    public int getPowerLength() {
        return powerLength;
    }

    public void setPowerLength(int powerLength) {
        this.powerLength = powerLength;
    }
}
